#页面类
from Day18.Page2 import Page
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from time import sleep

class test_page3(Page):
    # 鼠标悬停
    move_to_loc13 = (By.XPATH, '/html/body/div[2]/div/div[2]/u1/1i[1]/div[1]/a')
    # 点击我的订单
    click_wode_loc13 = (By.XPATH, '/html/body/div[2]/div/div[2]/u1/1i[1]/div[2]/a[1]')



    #业务布置
    def luoji_jiuxian_03(self):
        self.open_url('https://www.jiuxian.com/')
        self.luoji_jiuxian_01()
        sleep(2)
        self.move_to(self.move_to_loc13)
        sleep(2)
        self.click(self.click_wode_loc13)
        sleep(2)